Automattic\Jetpack\Connection\Manager D

Total Complexity 302
Dependencies 35
Dependents 108
Total lines 2,569
Lines of code 1,290
Logical lines of code 630
Comment lines 945
Methods 82
Properties 6

Methods 82

Method Rating Maintainability Complexity Lines of code
internal_verify_xml_rpc_signature()
D
29 31 118
register()
B
31 17 120
validate_remote_register_response()
A
41 13 59
authorize()
A
42 12 50
is_usable_domain()
A
40 9 75
setup_xmlrpc_handlers()
A
45 11 41
restore()
A
52 10 26
refresh_blog_token()
A
45 9 39
get_connected_users()
A
52 10 23
disconnect_user()
A
54 9 21
disconnect_site()
A
49 8 30
jetpack_connection_custom_caps()
A
54 8 23
get_connection_owner()
S
50 6 30
disconnect_site_wpcom()
S
59 7 14
try_registration()
S
53 6 23
update_connection_owner()
S
48 5 36
get_connected_user_data()
S
53 5 25
delete_all_connection_tokens()
S
54 5 21
get_authorization_url()
S
42 3 49
configure()
S
48 4 33
authenticate_jetpack()
S
58 5 17
get_site_id()
S
59 5 14
add_stats_to_heartbeat()
S
60 5 13
jetpack_get_options()
S
48 3 37
get_assumed_site_creation_date()
S
49 3 33
connect_user()
S
58 4 16
verify_xml_rpc_signature()
S
64 4 10
is_ready_for_cleanup()
S
70 4 5
xmlrpc_options()
S
57 2 17
update_connection_owner_wpcom()
S
59 2 17
apply_activation_source_to_args()
S
64 3 10
add_register_request_param()
S
69 3 6
__construct()
S
73 3 5
is_site_connection()
S
77 3 3
is_user_connected()
S
68 3 7
remove_non_jetpack_xmlrpc_methods()
S
65 3 9
handle_registration()
S
67 2 7
get_connected_plugins()
S
70 2 7
is_connected()
S
72 2 5
xmlrpc_methods()
S
74 2 4
require_jetpack_authentication()
S
66 2 8
set_min_time_limit()
S
68 2 8
is_missing_connection_owner()
S
69 2 7
get_max_execution_time()
S
69 2 7
get_connection_owner_id()
S
74 2 4
clean_nonces()
S
74 2 4
public_xmlrpc_methods()
S
70 2 6
is_connection_owner()
S
71 2 6
unlink_user_from_wpcom()
S
67 2 8
alternate_xmlrpc()
S
63 1 11
api_url()
S
63 1 11
sign_role()
S
79 1 3
is_active()
S
80 1 3
reset_saved_auth_state()
S
81 1 3
is_plugin_enabled()
S
82 1 3
set_plugin_instance()
S
77 1 4
get_plugin()
S
82 1 3
disable_plugin()
S
82 1 3
enable_plugin()
S
82 1 3
refresh_user_token()
S
73 1 5
get_signed_token()
S
75 1 4
initialize_rest_api_registration_connector()
S
81 1 3
reset_raw_post_data()
S
81 1 3
xmlrpc_api_url()
S
67 1 8
get_access_token()
S
74 1 4
remove_connection()
S
76 1 4
add_nonce()
S
75 1 4
generate_secrets()
S
78 1 3
get_secrets()
S
75 1 4
delete_secrets()
S
75 1 4
is_userless()
S
75 1 4
has_connected_owner()
S
80 1 3
reconnect()
S
73 1 5
get_tokens()
S
81 1 3
has_connected_user()
S
78 1 3
validate_tokens()
S
75 1 4
verify_secrets()
S
74 1 4
handle_authorization()
S
91 1 2
get_token()
S
79 1 3
is_registered()
S
76 1 4
sha1_base64()
S
79 1 3
has_connected_admin()
S
79 1 3